<%@ page import="com.kma.ncpractice2013.auth.RegistrationServlet" %>
<%--
  User: Viktor
  Date: 10/9/13
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>
<form method="post" action="Reg">
    <p/>login
    <input type="text" name="r_login">
    <p/>password
    <input type="password" name="r_password">
    <p/>username
    <input type="text" name="r_username">
    <p/>phone
    <input type="text" name="r_phone">
    <input type="submit" value="Submit"/>

</form>
<%
String err = request.getParameter("errcode");
    //test
    if(err!=null && err.charAt(0) == RegistrationServlet.USERNAME_NOT_UNIQUE)
        out.print("<p/>username already exist");
        %>
</body>
</html>